import axios from 'axios'
import {
    mainGif,
    VipHomeList,
    HotsRecommendList,
    TourShowList,
    RecommendList,
    TheaterList,
    //时间日历模块
    ShowCategoryList,
    CityList,
    HotCityList,
    showUri,
    ShowOne,
    openPlusUri,
    DetailListb,
    DetailList,
    // 每一个剧院详情url地址 zlm
    PerDetails,
} from '../config/url'
export const getMainGit = () => {
    return axios.get(mainGif)
}
export const getVipHomeList = () => {
    return axios.get(VipHomeList)
}
export const getHotsRecommendList = () => {
    return axios.get(HotsRecommendList)
}
export const getTourShowList = () => {
    return axios.get(TourShowList)
}
export const getRecommendList = (page = 2) => {
    return axios.get(RecommendList + page)
}

//获取剧院相关内容
export const getTheaterList = () => {
    return axios.get(TheaterList)
}

//日起导航
export const getShowCategoryList = () => {
    return axios.get(ShowCategoryList)
}

//获取城市列表
export const getCityList = () => {
    return axios.get(CityList)
}
export const getHotCityList = () => {
    return axios.get(HotCityList)
}


// 获取热门演出内容-1 thx
export const getShowOne = () => {
        return axios.get(ShowOne)
    }
    // 获取热门演出内容-2 thx
export const getShowUri = () => {
        return axios.get(showUri)
    }
    // 获取城市列表内容 thx
export const getOpenPlusUri = () => {
    return axios.get(openPlusUri)
}

//ht
// 黄涛获取导出url地址
export const getDetailList = () => {
    return axios.get(DetailList)
}
export const getDetailListb = () => {
        return axios.get(DetailListb)
    }
    //zlm
    // 获取每一个剧院详情内容  zlm
export const getPerDetails = (id = 116257) => {
    return axios.get(PerDetails + id)
}